package com.mlming.springboot.form;

import lombok.Data;
import lombok.NonNull;

@Data
public class CartAddForm {
    @NonNull
    private Integer productId;

    private Boolean selected = true;

    public CartAddForm() {
    }

    public CartAddForm(@NonNull Integer productId, Boolean selected) {
        this.productId = productId;
        this.selected = selected;
    }
}
